
/*
NOTE: The first person to enter the server will have the name __server__
see: http://forums.bistudio.com/showthread.php?t=110386
for more info

the rest of the players should work

Example of using the uid, I couldnt get it to work with that method
*/
private ["_name","_uid"];
_name = _this select 1; //name of player
_uid = _this select 2;

/*
if (_uid == 479424) then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHINT,"Alert all players. The creator of the vehicle spawning script, Craig, has just connected. He has been given 3 hunter-killer M1A2 TUSKs"] call RE;
};
*/

if ((_name == "Craig") || (_name == "[VVC] Craig")) then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHint,"Craig has just connected. Being the creator he has been given 3 hunter-killer M1A2 TUSKs"] call RE;
    [zombiespawner,nil,rGlobalChat,"Craig has just connected. Being the creator he has been given 3 hunter-killer M1A2 TUSKs"] call RE;
};

if ((_name == "bobtom") || (_name == "[VVC] bobtom")) then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHint,"Bobtom has just connected. Since he is Craig's friend he can do what he wants"] call RE;
    [zombiespawner,nil,rGlobalChat,"Bobtom has just connected. Since he is Craig's friend he can do what he wants"] call RE;
};

if ((_name == "whiskey") || (_name == "whiskey")) then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHint,"Whiskey has just connected. He likes to shoot zombies!"] call RE;
    [zombiespawner,nil,rGlobalChat,"Whiskey has just connected. He likes to shoot zombies"] call RE;
};


if (_name == "[VVC] Dominic") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHint,"Dom has connected. He is the creator of Degeneration, another excellent zombie mission. TRY IT!"] call RE;
    [zombiespawner,nil,rGlobalChat,"Dom has connected. He is the creator of Degeneration, another excellent zombie mission. TRY IT!"] call RE;
};

if (_name == "[SRU] Cpl. Dethorath") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHint,"Duke Nukem is ready to kill zombies and shoot bubble gum"] call RE;
    [zombiespawner,nil,rGlobalChat,"Duke Nukem is ready to kill zombies and shoot bubble gum"] call RE;
};

if (_name == "[SRU] PV2. BeZ") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHint,""] call RE;
    [zombiespawner,nil,rGlobalChat,""] call RE;
};
/*
if (_name == "[VVC] Mr. Bubbles") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    //[nil,nil,rHINT,"Rage machine Jaca has joined the zombiespawner"] call RE;
};

if (_name == "=113th=Jaca42") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHint,"Rage machine Jaca has joined the zombiespawner"] call RE;
    [nil,nil,rglobalChat,"Rage machine Jaca has joined the zombiespawner"] call RE;
};

if (_name == "Jazz Hands") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    //[nil,nil,rHINT,"Rage machine Jaca has joined the zombiespawner"] call RE;
};


if (_name == "[VVC] Fritsch") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    //[nil,nil,rHINT,"Rage machine Jaca has joined the zombiespawner"] call RE;
};

if (_name == "[VVC] Osis") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    [nil,nil,rHINT,"Better put your 3d glasses on, Osis' comin' at cha"] call RE;
};


if (_name == "[VVC] Demon") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    //[nil,nil,rHINT,"Rage machine Jaca has joined the zombiespawner"] call RE;
};

if (_name == "=[113TH]=Jenkins") then {
    sleep (random 30); // in case multiple VVC players are online, all hints do not come all at once
    //[nil,nil,rHINT,"Rage machine Jaca has joined the zombiespawner"] call RE;
};

*/
